<nav id="navigation">
    <ul>
        <li id="home_navbut" class="navbut <?php make_active("/index.php") ?> "><a href="/index.php">HOME</a></li>
        <li id="process_navbut" class="navbut <?php make_active("/process.php") ?>"><a href="/process.php">PROCESS</a></li>
        <li id="docs_navbut" class="navbut <?php make_active("/docs.php") ?>"><a href="/docs.php">DOCUMENTS</a></li>
        <li id="form_navbut" class="navbut <?php make_active("/form.php") ?>"><a href="/form.php">REQUEST FORM</a></li>
        <li id="contacts_navbut" class="navbut <?php make_active("/contacts.php") ?>"><a href="/contacts.php">CONTACTS</a></li>
    </ul>
</nav>

<?php 

 
function make_active($uri){
    
  if ($_SERVER["REQUEST_URI"] == $uri){ echo "active"; }else{ echo "";} 
  
}


?>
